home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Presentations / Presentations ’97 / Sessions ’97 / Multiplatform Code⁄Data Sharing / HelloBothWorlds / Libraries / resfile_macos.h < prev    next >
Encoding:
Text File  |  1997-06-26  |  501 b   |  29 lines  |  [TEXT/CWIE]

  1.  
  2. // mail <chelly@eden.com> or surf http://www.eden.com/~chelly for feedback
  3. // free source code - do whatever you like with it
  4.  
  5. // mac os resource file access
  6.  
  7. #ifndef resfile_macos_H
  8. #define resfile_macos_H
  9.  
  10. #include "common.h"
  11.  
  12. #include "resfile.h"
  13.  
  14. class resfile_macos : public resfile {
  15. public:
  16.     
  17.     resfile_macos( short ref ); // ref to a macos resource file opened by user
  18.     virtual ~resfile_macos();
  19.     
  20.     virtual void* get_resource( long type, int id );
  21.     
  22. private:
  23.     
  24.     short const m_ref;
  25. };
  26.  
  27. #endif
  28.  
  29.